package single;


//饿汉式
public class HungryMan {
    private final static HungryMan hm=new HungryMan();
    private HungryMan(){}
    private static HungryMan getInstance(){
        return hm;
    }
}
